package job.j01;

public class Staff {
    private String name;
    private String jobNumber;
    private double salaly;
    public Staff(){}
    public Staff(String name, String jobNumber,double salaly){
        this.name = name;
        this.jobNumber = jobNumber;
        this.salaly=salaly;
    }
    public String work(){
        System.out.println("工作中~~");
        return null;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJobNumber() {
        return jobNumber;
    }

    public void setJobNumber(String jobNumber) {
        this.jobNumber = jobNumber;
    }

    public double getSalaly() {
        return salaly;
    }

    public void setSalaly(double salaly) {
        this.salaly = salaly;
    }

}
